package com.freewater.springboot.demo.ioc.dependson;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class BeanB {
    static {
        log.info("init database driver");
    }

    public BeanB() {
        log.info("BeanB constructing");
    }

    public void destroy() {
        log.info("BeanB destroying");
    }
}
